package com.kymatrix.kycarbon.xsmd.common.util;

import cn.hutool.core.util.StrUtil;

/**
 * @author liujie
 * @date 2024-04-25
 */
public class VersionUtils {
    
    public static synchronized String newVersion(String version) {
        return StrUtil.isEmpty(version) ? "1" : String.valueOf(Integer.parseInt(version) + 1);
    }
    
}
